package com.bridge.common.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value="地址对象", description="")
public class UserVerificationVo<T> {

    @ApiModelProperty(value = "token凭证")
    private String token;

    @ApiModelProperty(value = "角色 0:门店 1平台 2:客服 3:区域经理")
    private String type;

    @ApiModelProperty(value = "用户信息")
    private T user;

    @ApiModelProperty(value = "是否需要校验权限")
    private Boolean isAuthentication = false;

    @ApiModelProperty(value = "角色权限")
    List<RoleVo> roles;

    @ApiModelProperty(value = "菜单数据")
    private List<MenuVo> menus;
}
